import request from '@/utils/request'

// 查询任务转移记录列表
export function listTasktranslog(query) {
  return request({
    url: '/pms/tasktranslog/list',
    method: 'get',
    params: query
  })
}

// 查询任务转移记录详细
export function getTasktranslog(logId) {
  return request({
    url: '/pms/tasktranslog/' + logId,
    method: 'get'
  })
}

// 新增任务转移记录
export function addTasktranslog(data) {
  return request({
    url: '/pms/tasktranslog',
    method: 'post',
    data: data
  })
}

// 修改任务转移记录
export function updateTasktranslog(data) {
  return request({
    url: '/pms/tasktranslog',
    method: 'put',
    data: data
  })
}

// 删除任务转移记录
export function delTasktranslog(logId) {
  return request({
    url: '/pms/tasktranslog/' + logId,
    method: 'delete'
  })
}
